package com.zyj.study;

import org.apache.commons.lang3.tuple.Pair;
import org.apache.commons.lang3.tuple.Triple;

public class ReturnMultiValueSample {
    public static void main(String[] args) {
        Pair<Float, String> pair = realMan();
        System.out.println(pair.getLeft());
        System.out.println(pair.getRight());
    }

    public static Pair<Float, String> realMan(){
        return Pair.of(18.5f, "东尼大木");
    }

    public static Triple<Float, String, Integer> realMan2(){
        return Triple.of(18.5f, "东尼大木", 40);
    }
}
